﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001429 RID: 5161
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyUseCardScRsp : IMessage<TrainPartyUseCardScRsp>, IMessage, IEquatable<TrainPartyUseCardScRsp>, IDeepCloneable<TrainPartyUseCardScRsp>, IBufferMessage
	{
		// Token: 0x17004110 RID: 16656
		// (get) Token: 0x0600E711 RID: 59153 RVA: 0x00269D98 File Offset: 0x00267F98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyUseCardScRsp> Parser
		{
			get
			{
				return TrainPartyUseCardScRsp._parser;
			}
		}

		// Token: 0x17004111 RID: 16657
		// (get) Token: 0x0600E712 RID: 59154 RVA: 0x00269D9F File Offset: 0x00267F9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyUseCardScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004112 RID: 16658
		// (get) Token: 0x0600E713 RID: 59155 RVA: 0x00269DB1 File Offset: 0x00267FB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyUseCardScRsp.Descriptor;
			}
		}

		// Token: 0x0600E714 RID: 59156 RVA: 0x00269DB8 File Offset: 0x00267FB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyUseCardScRsp()
		{
		}

		// Token: 0x0600E715 RID: 59157 RVA: 0x00269DC0 File Offset: 0x00267FC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyUseCardScRsp(TrainPartyUseCardScRsp other) : this()
		{
			this.aBFDEBDEHJA_ = other.aBFDEBDEHJA_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E716 RID: 59158 RVA: 0x00269DF1 File Offset: 0x00267FF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyUseCardScRsp Clone()
		{
			return new TrainPartyUseCardScRsp(this);
		}

		// Token: 0x17004113 RID: 16659
		// (get) Token: 0x0600E717 RID: 59159 RVA: 0x00269DF9 File Offset: 0x00267FF9
		// (set) Token: 0x0600E718 RID: 59160 RVA: 0x00269E01 File Offset: 0x00268001
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ABFDEBDEHJA
		{
			get
			{
				return this.aBFDEBDEHJA_;
			}
			set
			{
				this.aBFDEBDEHJA_ = value;
			}
		}

		// Token: 0x17004114 RID: 16660
		// (get) Token: 0x0600E719 RID: 59161 RVA: 0x00269E0A File Offset: 0x0026800A
		// (set) Token: 0x0600E71A RID: 59162 RVA: 0x00269E12 File Offset: 0x00268012
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600E71B RID: 59163 RVA: 0x00269E1B File Offset: 0x0026801B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyUseCardScRsp);
		}

		// Token: 0x0600E71C RID: 59164 RVA: 0x00269E29 File Offset: 0x00268029
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyUseCardScRsp other)
		{
			return other != null && (other == this || (this.ABFDEBDEHJA == other.ABFDEBDEHJA && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E71D RID: 59165 RVA: 0x00269E68 File Offset: 0x00268068
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ABFDEBDEHJA != 0U)
			{
				num ^= this.ABFDEBDEHJA.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E71E RID: 59166 RVA: 0x00269EC0 File Offset: 0x002680C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E71F RID: 59167 RVA: 0x00269EC8 File Offset: 0x002680C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E720 RID: 59168 RVA: 0x00269ED4 File Offset: 0x002680D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ABFDEBDEHJA != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.ABFDEBDEHJA);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E721 RID: 59169 RVA: 0x00269F2C File Offset: 0x0026812C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ABFDEBDEHJA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ABFDEBDEHJA);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E722 RID: 59170 RVA: 0x00269F84 File Offset: 0x00268184
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyUseCardScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ABFDEBDEHJA != 0U)
			{
				this.ABFDEBDEHJA = other.ABFDEBDEHJA;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E723 RID: 59171 RVA: 0x00269FD4 File Offset: 0x002681D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E724 RID: 59172 RVA: 0x00269FE0 File Offset: 0x002681E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 48U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.ABFDEBDEHJA = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005B65 RID: 23397
		private static readonly MessageParser<TrainPartyUseCardScRsp> _parser = new MessageParser<TrainPartyUseCardScRsp>(() => new TrainPartyUseCardScRsp());

		// Token: 0x04005B66 RID: 23398
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005B67 RID: 23399
		public const int ABFDEBDEHJAFieldNumber = 1;

		// Token: 0x04005B68 RID: 23400
		private uint aBFDEBDEHJA_;

		// Token: 0x04005B69 RID: 23401
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04005B6A RID: 23402
		private uint retcode_;
	}
}
